package order

// ISaleOrderService to manage sale order creation and modification
type ISaleOrderService interface {
	// get order info
	Get(orderID string) *SaleOrder

	// create new order
	Create(it *SaleOrder) error

	// update order status
	Update(orderID string, oldStatusFlag int32, newStatusFlag int32) (error, *SaleOrder)
}